Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PBH] Implement Edit Flows #2169

Merged
merged 1 commit into from
Mar 30, 2022

Conversation

nazariig
Copy link
Collaborator

@nazariig nazariig commented Mar 4, 2022

Signed-off-by: Nazarii Hnydyn [email protected]

PBH Edit Flows is a second phase of PBH feature implementation. It allows user to modify the already existing objects.
PBH Edit Flows offer a full entity update which assumes Config DB field ADD/UPDATE/REMOVE processing. PBH OA interprets series of Redis HSET/HDEL as SONiC SET operation and internally does the diff of existing/supplied configuration to deploy the new changes.

HLD: sonic-net/SONiC#909

What I did

  • Implemented Edit Flows in scope of PBH enhancement

Why I did it

  • Implementation is done according to the PBH HLD

How I verified it

  • N/A

Details if related

  • N/A

@nazariig
Copy link
Collaborator Author

nazariig commented Mar 4, 2022

@anish-n / @kktheballer FYI

@liat-grozovik
Copy link
Collaborator

@anish-n please review and provide your feedback.

@nazariig
Copy link
Collaborator Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nazariig
Copy link
Collaborator Author

@anish-n please have a look

@nazariig
Copy link
Collaborator Author

@anish-n just a kind reminder

stepanblyschak
stepanblyschak previously approved these changes Mar 18, 2022
@nazariig
Copy link
Collaborator Author

@anish-n just a kind reminder

orchagent/pbh/pbhcap.cpp Outdated Show resolved Hide resolved
orchagent/pbh/pbhcap.cpp Outdated Show resolved Hide resolved
orchagent/pbh/pbhcap.cpp Show resolved Hide resolved
orchagent/pbh/pbhcnt.h Show resolved Hide resolved
orchagent/pbhorch.cpp Show resolved Hide resolved
orchagent/pbhorch.cpp Show resolved Hide resolved
anish-n
anish-n previously approved these changes Mar 23, 2022
Copy link
Contributor

@anish-n anish-n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good to me, just have a few questions which I would like to understand on

Signed-off-by: Nazarii Hnydyn <[email protected]>
@nazariig
Copy link
Collaborator Author

@qiluo-msft / @prsunny the review is done. Please help to merge

@prsunny
Copy link
Collaborator

prsunny commented Mar 30, 2022

@anish-n , can you please sign-off?

@liat-grozovik
Copy link
Collaborator

@nazariig can you please extend your PR description and also refer to the HLD itself?

@nazariig
Copy link
Collaborator Author

@nazariig can you please extend your PR description and also refer to the HLD itself?

@liat-grozovik the link to HLD is already there and the description has been already updated

@liat-grozovik liat-grozovik merged commit 0f06910 into sonic-net:master Mar 30, 2022
@liat-grozovik liat-grozovik changed the title [pbh]: Implement Edit Flows [PBH] Implement Edit Flows Mar 30, 2022
judyjoseph pushed a commit that referenced this pull request Apr 4, 2022
PBH Edit Flows is a second phase of PBH feature implementation. It allows user to modify the already existing objects.
PBH Edit Flows offer a full entity update which assumes Config DB field ADD/UPDATE/REMOVE processing. PBH OA interprets series of Redis HSET/HDEL as SONiC SET operation and internally does the diff of existing/supplied configuration to deploy the new changes.

HLD: sonic-net/SONiC#909

- What I did
Implemented Edit Flows in scope of PBH enhancement

- Why I did it
Implementation is done according to the PBH HLD

Signed-off-by: Nazarii Hnydyn <[email protected]>
liat-grozovik pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Apr 7, 2022
In order to include the following commit:
0f06910 [PBH] Implement Edit Flows (sonic-net/sonic-swss#2169)

sonic-swss

50d5be2 Make changes to support compiling on Bullseye with GCC 10 (#2216)
0870cf5 [mirrororch]: Implement HW resources availability validation for SPAN/ERSPAN (#2187)
f4ec565 [vlanmgrd] fix use-after-free memory issue (#2211)
c2de7fc [QosOrch] The notifications cannot be drained in QosOrch in case the first one needs to retry (#2206)
5575935 [neighsyncd] increase neighsyncd timeout (#2209)
0f06910 [PBH] Implement Edit Flows (#2169)
6241bbf Remove redundant and problematic code to skip "pool" field in buffer profile handling (#2197)
a55343c [azp]: Set diff coverage threshhold to 80% (#2188)
390cae1 [portsorch]: Prevent LAG member configuration when port has active ACL binding (#2165)
c1d47e6 [VNET]Fixing nexthop group delete during route change (#2198)
8941cc0 [BFD]Registering BFD state change callback during session creation (#2202)
680c539 [vxlan] Remove tunnel map objects on VNET tunnel removal (#2150)
20dde0c Fix for handling broadcom DNX ASIC to have ipv4 and ipv6 ACL rules in separate tables. (#2178)
5b7c949 [FdbOrch] SAI_FDB_EVENT_MOVE generates update with empty update.entry.port_name (#2200)
7350d49 [Vxlanmgr] vnet netdev cleanup during config reload fix (#2191)
2bef62b Validate LAG has members before mirror session create (#2130)
1e4d4ce [VS test] Increase VS test time, skip dpb flaky test (#2195)
6eda965 [vstest]Migrating vs tests from using click commands to direct DB access (#2179)

Signed-off-by: Nazarii Hnydyn <[email protected]>
preetham-singh pushed a commit to preetham-singh/sonic-swss that referenced this pull request Aug 6, 2022
PBH Edit Flows is a second phase of PBH feature implementation. It allows user to modify the already existing objects.
PBH Edit Flows offer a full entity update which assumes Config DB field ADD/UPDATE/REMOVE processing. PBH OA interprets series of Redis HSET/HDEL as SONiC SET operation and internally does the diff of existing/supplied configuration to deploy the new changes.

HLD: sonic-net/SONiC#909

- What I did
Implemented Edit Flows in scope of PBH enhancement

- Why I did it
Implementation is done according to the PBH HLD

Signed-off-by: Nazarii Hnydyn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants